package com.itheima.userdemo.dao;

        import com.itheima.userdemo.domain.User;
        import org.apache.ibatis.annotations.Mapper;
        import org.springframework.stereotype.Repository;

        import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    void add(User user);

    void del(Integer id);

    List<User> selectAll();
}
